{capture name="hidden"}
	<input name="admin" type="hidden" value="1">
	<input name="body" type="hidden" value="{$smarty.session.body}">
	<input name="mod" type="hidden" value="catalog">
	<input name="act" type="hidden" value="mod">
	<input name="lang" type="hidden" value="{$data.tree.lng.cur}">
	<input name="id" type="hidden" value="{$data.page.id}">
{/capture}
{capture name="fields"}
{*debug var=$data.page*}
<table width="100%" cellpadding="3" cellspacing="0">
	<tr>
		<td width="35%" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
		<td><img src="client/img/spacer.gif" class="spacer" alt="" /></td>					
	</tr>
	<tr>
		<td>{t t='page_title'}:</td>
		<td><input name="name" type="text" style="border:1px solid #A8B3B8; width:100%; height:19px" id="name01"></td>
		<script language="javascript" type="text/javascript">addValueAndFieldToSpacify ('name01','{$data.page.name|escape:"quotes"}');</script>
	</tr>
	<tr>
		<td height="3" colspan="2">
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td>{t t='menu_group'}:</td>
		<td>
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td>
					<input name="group2" type="text"  style="border:1px solid #A8B3B8; width:110px;" align="absmiddle" >
				</td>
				<td width="50%" align="right">
				<select name="group1"  style="border:1px solid #A8B3B8; width:110px; vertical-align:middle" >									
					<option value="" selected></option>
					{foreach from=$data.tree.group item="gr"}
						{if $gr.groupe}
						<option value="{$gr.groupe}" {if $data.page.groupe==$gr.groupe}selected{/if}>{$gr.groupe}</option>
						{/if}
					{/foreach}
				</select>		
				</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td height="3" colspan="2">
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td>{t t='link'}:</td>
		<td align="right"><input name="dlink" type="text" style="border:1px solid #A8B3B8; width:100%; height:19px" id="dlink"></td>
		<script language="javascript" type="text/javascript">addValueAndFieldToSpacify ('dlink','{$data.page.dlink}');</script>
	</tr>
	<tr>
		<td height="3" colspan="2">
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td>{t t='Puslapio būsena'}:</td>
		<td align="right">
		<select name="hide" style="border:1px solid #A8B3B8; width:100%; vertical-align:middle">
			<option value="1" {if $data.page.hide==1}selected{/if}>{t t='Matomas'}</option>
			<option value="0"{if $data.page.hide==0}selected{/if}>{t t='Paslėptas'}</option>
		</select>
		</td>
	</tr>					
</table>
{/capture}	